Skip to content

feat: Robust environment scanner#24

Merged
yss-ef merged 2 commits into
yss-ef:mainfrom
AnouarMohamed:feature/scanner-robustness
Jun 1, 2026
Merged

feat: Robust environment scanner#24
yss-ef merged 2 commits into
yss-ef:mainfrom
AnouarMohamed:feature/scanner-robustness

Conversation

@AnouarMohamed

Copy link
Copy Markdown
Collaborator

Closes #19.

This PR brings the core environment scanner up to the robustness standards of the rest of the toolkit:

  • Pathlib Integration: Moves away from fragile string-based path manipulation to robust pathlib.Path objects.
  • Performance Optimization: Prunes the directory tree during traversal, skipping heavy folders like node_modules or target entirely rather than just filtering their contents.
  • Accurate Detection: Uses set-based marker detection to identify Spring, Angular, and Vue projects more reliably, especially in complex nested environments.

- Upgraded detection logic to use pathlib for robust OS-independent path handling
- Implemented directory pruning in os.walk to drastically improve scan performance
- Added comprehensive IGNORED_DIRECTORIES list (dist, build, venv, etc.)
- Improved marker detection using sets for faster and more accurate framework identification
@AnouarMohamed AnouarMohamed changed the title Feat: Robust environment scanner feat: Robust environment scanner May 25, 2026
@yss-ef yss-ef merged commit ea8139d into yss-ef:main Jun 1, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Robustness: Enhance environment scanner for complex project structures

2 participants